package com.heima.common.constants;

public class ArticleConstants {
    public static final Short LOADTYPE_LOAD_MORE = 1;
    public static final Short LOADTYPE_LOAD_NEW = 2;
    public static final String DEFAULT_TAG = "__all__";

    public static final String ARTICLE_ES_SYNC_TOPIC = "article.es.sync.topic";

    public static final Integer HOT_ARTICLE_LIKE_WEIGHT = 3;
    public static final Integer HOT_ARTICLE_COMMENT_WEIGHT = 5;
    public static final Integer HOT_ARTICLE_COLLECTION_WEIGHT = 8;
    public static final Integer ARTICLE_CANCEL_UNLIKE_WEIGHT = 1;//取消文章不喜欢
    public static final Integer ARTICLE_UNLIKE_WEIGHT = 0;//文章不喜欢
    public static final Integer ARTICLE_COLLECTION_WEIGHT = 0;//收藏文章高亮显示
    public static final Integer ARTICLE_CANCEL_COLLECTION_WEIGHT = 1;//取消文章收藏高亮显示
    public static final Integer ARTICLE_LIKE_OPERATION_WEIGHT = 0;//文章点赞高亮显示
    public static final Integer ARTICLE_CANCEL_LIKE_OPERATION_WIGHT = 1;//文章取消点赞高亮显示
    public static final Integer ARTICLE_LIKE_TYPE = 0;//文章点赞类型
    public static final Integer DYNAMIC_LIKE_BEHAVIOR_TYPE = 1;//动态点赞类型
    public static final Integer COMMENT_LIKE_BEHAVIOR_TYPE = 2;//评论点赞类型
    public static final Integer ARTICLE_DOWN_STATUS = 1;//下架 1
    public static final Integer ARTICLE_UP_STATUS = 0;//上架 0

    public static final String HOT_ARTICLE_FIRST_PAGE = "hot_article_first_page_";

    public static final String ARTICLE_LIKE_BEHAVIOR = "article_like_behavior_articleid";
    public static final String ARTICLE_READ_BEHAVIOR = "article_read_behavior_articleid";
    public static final String UN_LIKE_BEHAVIOR = "un_like_behavior_articleid";
    public static final String ARTICLE_COLLECTION = "article_collection_userid";
    public static final String USER_ARTICLE_BEHAVIOR = "user_article_behavior";
}